#include "stdafx.h"
#include <stdio.h>
#include <windows.h>
#include "..\\testdll\\lx_commands.h"
double calculate(double a, double b)
{
	double ret = 0.0;
	if ((a == 0)&(b == 0) || (b == ((-256)*a))) {
		return ret;
	}
	ret = 4680000/(256 * a+b);
	printf("dec value is %f \r\n", ret);
	printf("hex value is %x \r\n", ret);
	return ret ;
}
int main(int argc, char* argv[])
{
	double x = 0.0;
	x = calculate(4680000,4680000);
	LX_Commands a;
	
	system("PAUSE");
	return 0;
}

